package training;

public class Mail {
    private String send;
    private String receive;
    private String content;

    public Mail() {
    }

    public Mail(String send, String receive, String content) {
        this.send = send;
        this.receive = receive;
        this.content = content;
    }

    /**
     * 输出基本信息
     */
    public void printInfo(){
        System.out.println("发送人："+this.send+"\n收件人："+this.receive+"\n内容："+this.content);
    }
    public String getSend() {
        return send;
    }

    public void setSend(String send) {
        this.send = send;
    }

    public String getReceive() {
        return receive;
    }

    public void setReceive(String receive) {
        this.receive = receive;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
